mirror of https://github.com/vitalif/openscad
Calling signals from outside is only possible with Qt5. This is probably the wrong hack anyway
parent
1cc4f6be53
commit
c577c7e501
|
@ -71,7 +71,7 @@ QString ScintillaEditor::toPlainText()
|
|||
void ScintillaEditor::setContentModified(bool modified)
|
||||
{
|
||||
// FIXME: Due to an issue with QScintilla, we need to do this on the document itself.
|
||||
#if QSCINTILLA_VERSION >= 0x020800
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
|
||||
qsci->SCN_SAVEPOINTLEFT();
|
||||
#endif
|
||||
qsci->setModified(modified);
|
||||
|
|
Loading…
Reference in New Issue