Can rename Paint with double click #174

This commit is contained in:
baydam
2015-12-29 14:36:06 +00:00
parent b2e03da2f2
commit 73f28ae340
3 changed files with 6 additions and 1 deletions
+1
View File
@@ -41,3 +41,4 @@ Info.plist
*.pro.user*
*.app
DMGVERSION.txt
*.db
+4 -1
View File
@@ -2440,9 +2440,12 @@ void MainWindow::connectProjectWidgets()
connect(mappingList->model(), SIGNAL(rowsMoved(const QModelIndex&, int, int, const QModelIndex &, int)),
this, SLOT(handleMappingIndexesMoved()));
// Rename mapping with double click
connect(mappingList, SIGNAL(itemDoubleClicked(QListWidgetItem*)),
this, SLOT(renameMappingItem()));
// Rename Paint with double click
connect(paintList, SIGNAL(itemDoubleClicked(QListWidgetItem*)),
this, SLOT(renamePaintItem()));
}
void MainWindow::disconnectProjectWidgets()
+1
View File
@@ -89,6 +89,7 @@ private slots:
void openRecentFile();
void clearRecentFileList();
void openRecentVideo();
void quitMapMap();
// Edit menu.
void deleteItem();
// Context menu for mappings.