src/main.cpp

changeset 332
ae7f7fbb9cda
parent 331
638a7458ef5e
child 333
07e65a4c6611
equal deleted inserted replaced
331:638a7458ef5e 332:ae7f7fbb9cda
721 } 721 }
722 } 722 }
723 else { 723 else {
724 checkEditingModeAction(EditingMode::SelectMode); 724 checkEditingModeAction(EditingMode::SelectMode);
725 } 725 }
726 ui.modelEdit->setEnabled(modelSubWindow != nullptr);
726 updateTitle(); 727 updateTitle();
727 }); 728 });
728 ui.messageLog->setModel(&messageLog); 729 ui.messageLog->setModel(&messageLog);
729 QObject::connect(ui.actionAboutQt, &QAction::triggered, &app, &QApplication::aboutQt); 730 QObject::connect(ui.actionAboutQt, &QAction::triggered, &app, &QApplication::aboutQt);
730 QObject::connect(&documents, &DocumentManager::message, &messageLog, &MessageLog::addMessage); 731 QObject::connect(&documents, &DocumentManager::message, &messageLog, &MessageLog::addMessage);

mercurial