mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Can rename Paint with double click #174
This commit is contained in:
@@ -41,3 +41,4 @@ Info.plist
|
||||
*.pro.user*
|
||||
*.app
|
||||
DMGVERSION.txt
|
||||
*.db
|
||||
|
||||
+4
-1
@@ -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()
|
||||
|
||||
@@ -89,6 +89,7 @@ private slots:
|
||||
void openRecentFile();
|
||||
void clearRecentFileList();
|
||||
void openRecentVideo();
|
||||
void quitMapMap();
|
||||
// Edit menu.
|
||||
void deleteItem();
|
||||
// Context menu for mappings.
|
||||
|
||||
Reference in New Issue
Block a user