|
From: | Miguel de Benito Delgado |
Subject: | [Texmacs-dev] QT interactive prompt bug (EXC_BAD_ACCESS) + solution |
Date: | Sat, 6 Nov 2010 19:20:46 +0100 |
QTMInteractivePrompt* _prompt = new QTMInteractivePrompt(label, items, to_qstring(it->type), tm_mainwindow());
if (_prompt->exec() == QDialog::Accepted) {
QString text = _prompt->currentText();
((qt_input_text_widget_rep*) int_input.rep) -> text = scm_quote (from_qstring (text));
((qt_input_text_widget_rep*) int_input.rep) -> cmd ();
} else {
// ((qt_input_text_widget_rep*) int_input.rep) -> text="#f";
}
delete _prompt;
}
[Prev in Thread] | Current Thread | [Next in Thread] |