summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/apps/advancedfm/advancedfm.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/apps/advancedfm/advancedfm.cpp b/noncore/apps/advancedfm/advancedfm.cpp
index 18952c3..9606269 100644
--- a/noncore/apps/advancedfm/advancedfm.cpp
+++ b/noncore/apps/advancedfm/advancedfm.cpp
@@ -936,9 +936,9 @@ void AdvancedFm::localRename()
936} 936}
937 937
938void AdvancedFm::remoteRename() 938void AdvancedFm::remoteRename()
939{ 939{
940 QString curFile = Local_View->currentItem()->text(0); 940 QString curFile = remote_View->currentItem()->text(0);
941 InputDialog *fileDlg; 941 InputDialog *fileDlg;
942 fileDlg = new InputDialog(this,tr("Rename"),TRUE, 0); 942 fileDlg = new InputDialog(this,tr("Rename"),TRUE, 0);
943 fileDlg->setInputText((const QString &)curFile); 943 fileDlg->setInputText((const QString &)curFile);
944 fileDlg->exec(); 944 fileDlg->exec();