always show child indicator in shortcut tree
This commit is contained in:
@@ -499,6 +499,7 @@ void MainWindow::setup_menus() {
|
||||
|
||||
QMenu* file_menu = menuBar->addMenu("&File");
|
||||
connect(file_menu, SIGNAL(aboutToShow()), this, SLOT(fileMenu_About_To_Be_Shown()));
|
||||
connect(file_menu, SIGNAL(aboutToHide()), this, SLOT(fileMenu_About_To_Hide()));
|
||||
|
||||
QMenu* new_menu = file_menu->addMenu("&New");
|
||||
make_new_menu(new_menu);
|
||||
@@ -1113,6 +1114,10 @@ void MainWindow::fileMenu_About_To_Be_Shown() {
|
||||
}
|
||||
}
|
||||
|
||||
void MainWindow::fileMenu_About_To_Hide() {
|
||||
open_recent->clear();
|
||||
}
|
||||
|
||||
void MainWindow::load_recent_project() {
|
||||
int index = static_cast<QAction*>(sender())->data().toInt();
|
||||
QString recent_url = recent_projects.at(index);
|
||||
|
||||
Reference in New Issue
Block a user