File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ exports.init = function() {
11
11
id : "save-text-to-file-widget" ,
12
12
label : Localisation . getString ( "saveTextToFile_id" ) ,
13
13
contentURL : Data . get ( "images/ico.png" ) ,
14
- // panel: Panel.get(), #44 Text not saved if panel attached to widget, and widgetObj.destroy() is called
14
+ panel : Panel . get ( ) ,
15
15
onClick : function ( ) {
16
16
17
17
Tab . getSelectedText ( ) ;
@@ -21,4 +21,5 @@ exports.init = function() {
21
21
22
22
exports . remove = function ( ) {
23
23
widgetObj . destroy ( ) ;
24
+ Panel . init ( ) ;
24
25
} ;
Original file line number Diff line number Diff line change 5
5
"description" : " Saves highlighted text to a file in a specified directory" ,
6
6
"author" : " Robert Byrne" ,
7
7
"license" : " GNU GPL v3" ,
8
- "version" : " 2.4" ,
8
+ "version" : " 2.4.1 " ,
9
9
"permissions" : {"private-browsing" : true },
10
10
"preferences" : [{
11
11
"name" : " fileName" ,
You can’t perform that action at this time.
0 commit comments