Fixed drag and drop not showing correct path, specifically under GTK-3. (#520)
This commit is contained in:
parent
2675a9c60e
commit
c90b45f88c
|
@ -59,10 +59,8 @@ namespace VeraCrypt
|
|||
|
||||
SetDropTarget (new FileDropTarget (this));
|
||||
KeyfilesListCtrl->SetDropTarget (new FileDropTarget (this));
|
||||
#ifdef TC_MACOSX
|
||||
foreach (wxWindow *c, GetChildren())
|
||||
c->SetDropTarget (new FileDropTarget (this));
|
||||
#endif
|
||||
|
||||
UpdateButtons();
|
||||
}
|
||||
|
|
|
@ -393,10 +393,8 @@ namespace VeraCrypt
|
|||
};
|
||||
|
||||
SetDropTarget (new FileDropTarget (this));
|
||||
#ifdef TC_MACOSX
|
||||
foreach (wxWindow *c, MainPanel->GetChildren())
|
||||
c->SetDropTarget (new FileDropTarget (this));
|
||||
#endif
|
||||
|
||||
// Volume history
|
||||
VolumeHistory::ConnectComboBox (VolumePathComboBox);
|
||||
|
|
|
@ -159,10 +159,8 @@ namespace VeraCrypt
|
|||
if (enableKeyfiles)
|
||||
{
|
||||
SetDropTarget (new FileDropTarget (this));
|
||||
#ifdef TC_MACOSX
|
||||
foreach (wxWindow *c, GetChildren())
|
||||
c->SetDropTarget (new FileDropTarget (this));
|
||||
#endif
|
||||
}
|
||||
|
||||
Layout();
|
||||
|
|
Loading…
Reference in New Issue