Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 9f19f9f9 authored by Yuri Chornoivan's avatar Yuri Chornoivan

Fix inability to open two files from the same directory one after another

parent 9685a13c
......@@ -211,7 +211,7 @@ void Kig::dropEvent(QDropEvent* e)
void Kig::fileOpen()
{
// this slot is connected to the KStandardAction::open action...
QString currentDir = m_part->url().isLocalFile() ? m_part->url().toLocalFile() : QString();
QString currentDir = m_part->url().isLocalFile() ? QFileInfo( m_part->url().toLocalFile() ).absolutePath() : QString();
if ( currentDir.isNull() )
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment