summaryrefslogtreecommitdiff
Side-by-side diff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--libopie/ofileselector.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopie/ofileselector.cc b/libopie/ofileselector.cc
index 968541a..ea19143 100644
--- a/libopie/ofileselector.cc
+++ b/libopie/ofileselector.cc
@@ -320,25 +320,25 @@ void OFileSelector::setPermissionChecked( bool check )
return;
m_checkPerm->setChecked( check );
}
QString OFileSelector::selectedName( )const
{
QString string;
if( m_selector == NORMAL ){
const DocLnk *lnk = m_select->selected();
string = lnk->file();
}else if(m_selector == EXTENDED || m_selector == EXTENDED_ALL ) {
QListViewItem *item = m_View->currentItem();
if(item != 0 ){
- string = item->text( 1 );
+ string = m_currentDir + "/" + item->text( 1 );
}
}
return string;
}
QStringList OFileSelector::selectedNames()const
{
QStringList list;
return list;
}
DocLnk OFileSelector::selectedDocument( )const
{
DocLnk lnk;