mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-08-19 06:12:49 -06:00
EditAsHex does not reload if already active #1402
git-svn-id: svn://ultimatepp.org/upp/trunk@9669 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
61d6d85d8e
commit
eeec0a86a1
1 changed files with 4 additions and 2 deletions
|
|
@ -582,8 +582,10 @@ void Ide::TriggerAssistSync()
|
|||
void Ide::EditAsHex()
|
||||
{
|
||||
String path = editfile;
|
||||
editastext.RemoveKey(editfile);
|
||||
editashex.FindPut(editfile);
|
||||
if(editashex.Find(path) >= 0)
|
||||
return;
|
||||
editastext.RemoveKey(path);
|
||||
editashex.FindPut(path);
|
||||
byte cs = editor.GetCharset();
|
||||
FlushFile();
|
||||
EditFile0(path, cs);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue