mirror of
https://github.com/Hofknecht/SystemTrayMenu.git
synced 2024-09-28 23:31:25 +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
2 changed files with 13 additions and 6 deletions
|
@ -35,14 +35,21 @@ namespace SystemTrayMenu.Helper
|
|||
{
|
||||
Menu menu = (Menu)sender;
|
||||
string path;
|
||||
if (menu == null)
|
||||
if (menu != null)
|
||||
{
|
||||
path = Config.Path;
|
||||
RowData rowData = (RowData)menu.Tag;
|
||||
if (rowData != null)
|
||||
{
|
||||
path = rowData.TargetFilePath;
|
||||
}
|
||||
else
|
||||
{
|
||||
RowData rowData = (RowData)menu.Tag;
|
||||
path = rowData.TargetFilePath;
|
||||
path = Config.Path;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
path = Config.Path;
|
||||
}
|
||||
|
||||
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
|
||||
// by using the '*' as shown below:
|
||||
// [assembly: AssemblyVersion("1.0.*")]
|
||||
[assembly: AssemblyVersion("1.1.1.1")]
|
||||
[assembly: AssemblyFileVersion("1.1.1.1")]
|
||||
[assembly: AssemblyVersion("1.1.1.2")]
|
||||
[assembly: AssemblyFileVersion("1.1.1.2")]
|
||||
|
|
Loading…
Reference in a new issue