mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-06-30 20:10:40 +12:00
[BUG] DragDrop URL to main menu not working (#254), version 1.1.1.2
This commit is contained in:
parent
976ad23fc3
commit
b7a7364b40
|
@ -35,14 +35,21 @@ namespace SystemTrayMenu.Helper
|
||||||
{
|
{
|
||||||
Menu menu = (Menu)sender;
|
Menu menu = (Menu)sender;
|
||||||
string path;
|
string path;
|
||||||
if (menu == null)
|
if (menu != null)
|
||||||
{
|
{
|
||||||
path = Config.Path;
|
RowData rowData = (RowData)menu.Tag;
|
||||||
|
if (rowData != null)
|
||||||
|
{
|
||||||
|
path = rowData.TargetFilePath;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
RowData rowData = (RowData)menu.Tag;
|
path = Config.Path;
|
||||||
path = rowData.TargetFilePath;
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
path = Config.Path;
|
||||||
}
|
}
|
||||||
|
|
||||||
object data = e.Data.GetData("UniformResourceLocator");
|
object data = e.Data.GetData("UniformResourceLocator");
|
||||||
|
|
|
@ -39,5 +39,5 @@ using System.Runtime.InteropServices;
|
||||||
// You can specify all the values or you can default the Build and Revision Numbers
|
// You can specify all the values or you can default the Build and Revision Numbers
|
||||||
// by using the '*' as shown below:
|
// by using the '*' as shown below:
|
||||||
// [assembly: AssemblyVersion("1.0.*")]
|
// [assembly: AssemblyVersion("1.0.*")]
|
||||||
[assembly: AssemblyVersion("1.1.1.1")]
|
[assembly: AssemblyVersion("1.1.1.2")]
|
||||||
[assembly: AssemblyFileVersion("1.1.1.1")]
|
[assembly: AssemblyFileVersion("1.1.1.2")]
|
||||||
|
|
Loading…
Reference in a new issue