mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 11:08:02 -06:00
Fixed drag and drop not showing correct path, specifically under GTK-3. (#520)
This commit is contained in:
committed by
Mounir IDRASSI
parent
2675a9c60e
commit
c90b45f88c
@@ -59,10 +59,8 @@ namespace VeraCrypt
|
|||||||
|
|
||||||
SetDropTarget (new FileDropTarget (this));
|
SetDropTarget (new FileDropTarget (this));
|
||||||
KeyfilesListCtrl->SetDropTarget (new FileDropTarget (this));
|
KeyfilesListCtrl->SetDropTarget (new FileDropTarget (this));
|
||||||
#ifdef TC_MACOSX
|
|
||||||
foreach (wxWindow *c, GetChildren())
|
foreach (wxWindow *c, GetChildren())
|
||||||
c->SetDropTarget (new FileDropTarget (this));
|
c->SetDropTarget (new FileDropTarget (this));
|
||||||
#endif
|
|
||||||
|
|
||||||
UpdateButtons();
|
UpdateButtons();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -393,10 +393,8 @@ namespace VeraCrypt
|
|||||||
};
|
};
|
||||||
|
|
||||||
SetDropTarget (new FileDropTarget (this));
|
SetDropTarget (new FileDropTarget (this));
|
||||||
#ifdef TC_MACOSX
|
|
||||||
foreach (wxWindow *c, MainPanel->GetChildren())
|
foreach (wxWindow *c, MainPanel->GetChildren())
|
||||||
c->SetDropTarget (new FileDropTarget (this));
|
c->SetDropTarget (new FileDropTarget (this));
|
||||||
#endif
|
|
||||||
|
|
||||||
// Volume history
|
// Volume history
|
||||||
VolumeHistory::ConnectComboBox (VolumePathComboBox);
|
VolumeHistory::ConnectComboBox (VolumePathComboBox);
|
||||||
|
|||||||
@@ -159,10 +159,8 @@ namespace VeraCrypt
|
|||||||
if (enableKeyfiles)
|
if (enableKeyfiles)
|
||||||
{
|
{
|
||||||
SetDropTarget (new FileDropTarget (this));
|
SetDropTarget (new FileDropTarget (this));
|
||||||
#ifdef TC_MACOSX
|
|
||||||
foreach (wxWindow *c, GetChildren())
|
foreach (wxWindow *c, GetChildren())
|
||||||
c->SetDropTarget (new FileDropTarget (this));
|
c->SetDropTarget (new FileDropTarget (this));
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
Layout();
|
Layout();
|
||||||
|
|||||||
Reference in New Issue
Block a user