OSDN Git Service
(root)
/
gefu
/
Gefu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3cc5f29
)
Ver0.21
author
Masayuki Satoh
<miyabi.satoh@gmail.com>
Sun, 14 Sep 2014 15:10:05 +0000
(
00:10
+0900)
committer
Masayuki Satoh
<miyabi.satoh@gmail.com>
Sun, 14 Sep 2014 15:10:05 +0000
(
00:10
+0900)
mainwindow.cpp
patch
|
blob
|
history
diff --git
a/mainwindow.cpp
b/mainwindow.cpp
index
4e8a653
..
d090548
100644
(file)
--- a/
mainwindow.cpp
+++ b/
mainwindow.cpp
@@
-1136,8
+1136,8
@@
void MainWindow::onRename()
\r
opDlg.exec();
\r
\r
- focusItemView()->setCurrentIndex(
\r
-
activeModel()->search(dlg->renameMap().first
()));
\r
+ QFileInfo fi(dlg->renameMap().first());
\r
+
focusItemView()->setCurrentIndex(activeModel()->search(fi.fileName
()));
\r
\r
prefs.setAutoCloseRename(opDlg.autoClose());
\r
}
\r