BinEditor: Do not call openImpl without a file name

Task-number: QTCREATORBUG-16751
Change-Id: I64133932b405707f4d7e1e2213e1ddf73cbcc387
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2016-08-19 08:28:24 +02:00
parent 149f084b11
commit 07706a9a8e

View File

@@ -340,7 +340,8 @@ public:
void provideNewRange(quint64 offset) void provideNewRange(quint64 offset)
{ {
openImpl(0, filePath().toString(), offset); if (filePath().exists())
openImpl(0, filePath().toString(), offset);
} }
public: public: